package org.vidyakiran.app.client.view;

import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.MenuBar;
import com.google.gwt.user.client.ui.Panel;
import com.google.gwt.user.client.ui.TabBar;

public class TabView {
	
	private Panel mainPanel;
	private Button homeButton;
	private Button volunteerButton;
	private Button schoolsButton;
	
	
	public TabView() {
		mainPanel = new HorizontalPanel(); 
		homeButton = new Button("Home");
		homeButton.setStyleName("gwt-TabBar");
		volunteerButton = new Button("Volunteer");
		volunteerButton.setStyleName("gwt-TabBar");
		schoolsButton = new Button("School");
		schoolsButton.setStyleName("gwt-TabBar");
	}

	public Panel createTabPanel(){

		//mainTabbar.addTab("About Us");
		//mainTabbar.addTab("Contact Us");
		
		mainPanel.add(homeButton);
		mainPanel.add(volunteerButton);
		mainPanel.add(schoolsButton);
		return mainPanel;
		
	}

	public Panel getMainPanel() {
		return mainPanel;
	}

	public Button getHomeButton() {
		return homeButton;
	}

	public Button getVolunteerButton() {
		return volunteerButton;
	}

	public Button getSchoolsButton() {
		return schoolsButton;
	}


}
